//
//  BIDHouseBinderCell.m
//  HJGJCommunity
//
//  Created by mal on 2017/5/19.
//  Copyright © 2017年 mal. All rights reserved.
//

#import "BIDHouseBinderCell.h"

@implementation BIDHouseBinderCell
@synthesize row;
@synthesize delegate;
@synthesize imgView;
@synthesize titleLabel;
@synthesize dateLabel;
@synthesize phoneLabel;

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    imgView.layer.masksToBounds = YES;
    imgView.layer.cornerRadius = CGRectGetWidth(imgView.frame)/2;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
//设置角色
- (IBAction)roleBtnHandler:(id)sender
{
    [delegate editRoleTypeAtRow:row];
}
//解除绑定
- (IBAction)unbindingBtnHandler:(id)sender
{
    [delegate unbindingAtRow:row];
}

@end
